package com.qf.dblib.dao.entity;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

/**
 * 搜索历史记录
 * 2020/2/24 21:18
 */
public class SearchHistoryBean extends LitePalSupport
{
    private int id;
    @Column(nullable = true)
    private String uid;           //所属用户
    @Column(nullable = true)
    private String value;       //值

    public SearchHistoryBean()
    {

    }

    public SearchHistoryBean(String uid, String value)
    {
        this.uid = uid;
        this.value = value;
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getUid() {
        return uid == null ? "" : uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getValue()
    {
        return value == null ? "" : value;
    }

    public void setValue(String value)
    {
        this.value = value;
    }
}